Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

To stac #617

Merged
merged 24 commits into from
Oct 30, 2023
Merged

To stac #617

merged 24 commits into from
Oct 30, 2023

Conversation

savente93
Copy link
Contributor

@savente93 savente93 commented Oct 25, 2023

Issue addressed

Fixes #405

Explanation

Implement the to_stac functionality for hydromt data catalog and adapters. Since HydroMT has some functionality that STAC doesn't support this does lead to some loss in information. We can add extensions to remedy this later, but for this first go I thought it was best to just make an MVP and see what else is necessary before moving on.

Checklist

  • Updated tests or added new tests
  • Branch is up to date with main
  • Tests & pre-commit hooks pass
  • Updated documentation if needed
  • Updated changelog.rst if needed

Additional Notes (optional)

Add any additional notes or information that may be helpful.

@savente93 savente93 marked this pull request as ready for review October 25, 2023 10:41
@savente93 savente93 requested a review from Jaapel October 25, 2023 10:41
Copy link
Contributor

@Jaapel Jaapel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great, some minor comments.
For inspiration, (this is STAC -> DaskDataArray, but still deals with the same ecosystem). https://stackstac.readthedocs.io/en/latest/basic.html

hydromt/data_adapter/dataframe.py Show resolved Hide resolved
hydromt/data_adapter/geodataframe.py Outdated Show resolved Hide resolved
hydromt/data_adapter/geodataframe.py Outdated Show resolved Hide resolved
hydromt/data_adapter/geodataset.py Outdated Show resolved Hide resolved
hydromt/data_adapter/rasterdataset.py Outdated Show resolved Hide resolved
hydromt/data_adapter/geodataset.py Outdated Show resolved Hide resolved
hydromt/data_adapter/geodataframe.py Outdated Show resolved Hide resolved
@savente93 savente93 merged commit f3be55f into main Oct 30, 2023
8 of 9 checks passed
@savente93 savente93 deleted the to_stac branch October 30, 2023 09:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

to_stac for creating STAC catalog from HydroMT catalog
2 participants